package com.iotp.controller.test;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class CommUserController {
    private Logger logger = LoggerFactory.getLogger(CommUserController.class);

    @GetMapping("/page/page1")
    public String toPageOne(){
        return "test/page1";
    }

    @GetMapping("/page/page2")
    public String toPageTwo(){
        return "test/page2";
    }


}
